package oop.exer1;

/**
 * Created with IntelliJ IDEA.
 * ClassName: Person
 * Package: oop.exer1
 * Description:
 * User: fzykd
 *
 * @Author: LQH
 * Date: 2023-11-10
 * Time: 22:27
 */

public class Person {

    String name;
    int age;
    char gender;

    public void study(){
        System.out.println("studying");
    }

    public int showAge(){
        return age;
    }

    public void addAge(int addAge){
        age += addAge;
    }

}
